package com.yupi.yuojcodesandbox.docker;

import com.github.dockerjava.api.DockerClient;
import com.github.dockerjava.api.command.PingCmd;
import com.github.dockerjava.core.DockerClientBuilder;

/**
 * @Author: wenjupeng
 * @Date: 2025/01/22/17:35
 * @Description:
 * @Param:
 * @return:
 */
public class DockerDemo {
    public static void main(String[] args) {
        //读取默认的Docker Client
        DockerClient dockerClient = DockerClientBuilder.getInstance().build();//建造者模式
        PingCmd pingCmd = dockerClient.pingCmd();
        
    }
}
